package main

import "fmt"

type Person struct {
	id   int
	name string
	age  int
}
type Student struct {
	*Person
	score float64
}

func main() {
	var student Student = Student{&Person{1, "zhong", 3}, 2}
	fmt.Println(student)
	fmt.Println(student.id)
	fmt.Println(student.Person.id)
}
